/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 根元素样式 */
:root {
  --el-menu-text-color: #bfcbd9;
  --el-menu-active-color: #409EFF;
  --el-menu-bg-color: #304156;
  --el-menu-hover-bg-color: #263445;
}

/* 全局样式 */
html, body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

#app {
  height: 100%;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Element Plus 样式覆盖 */
.el-menu {
  border-right: none !important;
}

.el-menu--collapse {
  width: 64px;
}

.el-menu-item, .el-sub-menu__title {
  height: 50px !important;
  line-height: 50px !important;
}
